package midway.madness.utils;

import midway.madness.R;
import android.app.Dialog;
import android.content.Context;

public class SplashScreen extends Dialog{

	public SplashScreen(Context context) {
		super(context, R.style.SplashScreen);
	}
	
	public void showSplash(){
		if (null != this){
			setContentView(R.layout.splash_screen);
			setCancelable(false);
			show();
		}
	}

	public void removeSplash() {
		if (null != this){
			dismiss();
		}
	}

}
